#!D:\Program Files (x86)\python-3.7.7-amd64\python.exe
# -*-coding:utf-8-*-
import io
import sys

sys.stdout = io.TextIOWrapper(sys.stdout.buffer, encoding='utf-8')

# HTTP 头部
print("Content-Disposition: attachment; filename=\"hello.txt\"")
print()
# 打开文件
fo = open("hello.txt", "r")

str = fo.read()
print(str)

# 关闭文件
fo.close()
